package com.demo.service;

import com.demo.dto.ProjectDto;
import com.demo.pojo.Project;

import java.util.List;

/**
 * @ClassName ProjectDao
 * @Description TODO
 * @Author Windy
 * @Date 2022/9/7 16:56
 * @Version 1.0
 **/
public interface ProjectService {

    public List<Project> findOneAndMany();

    public List<ProjectDto> findAllDto();

    public boolean updateProject(Project project);

    public boolean deleteProjectById(int pid);

    boolean insertProject(Project project);

    Project findOneById(int pid);
}
